<form action="?a=registered" method="POST" enctype="multipart/form-data">
  <table border="1">
    <tbody>
      <tr>
        <td>Username: </td>
        <td><input type="text" name="username" value="[{$post.username}]" /></td>
      </tr>
      <tr>
        <td>User ID: </td>
        <td><input type="text" name="userid" value="[{$post.userid}]" /></td>
      </tr>
      <tr>
        <td>API Key (Full for corp): </td>
        <td><input type="text" name="apikey" value="[{$post.apikey}]" /></td>
      </tr>
      [{if isset($chars)}]
      <tr>
        <td>Password: </td>
        <td><input type="password" name="passwd1" value="[{$post.passwd1}]" /></td>
      </tr>
      <tr>
        <td>Re-type password: </td>
        <td><input type="password" name="passwd2" value="[{$post.passwd2}]" /></td>
      </tr>
      <tr>
        <td>Character: </td>
        <td>
          <select name="charid">
          [{foreach from=$chars item=char}]
            <option value="[{$char.charid}]">[{$char.charname}]</option>
          [{/foreach}]
        </select></td>
      </tr>
      [{/if}]
      <tr>
        <td colspan="2" align="center"><input type="submit" value="Register" name="register" /></td>
      </tr>
    </tbody>
  </table>
  <br />
  <a href="http://myeve.eve-online.com/api/default.asp">Get your API Key here</a>
</form>